package com.oozinoz.simulation;

public class OozinozSkyrocket extends Skyrocket {
	private PhysicalRocket physicalRocket;

	public OozinozSkyrocket(PhysicalRocket r) {
		super(r.getMass(0), r.getThrust(0), r.getBurnTime());
		physicalRocket = r;
	}

	@Override
	public double getMass() {
		return physicalRocket.getMass(simTime);
	}

	@Override
	public double getThrust() {
		return physicalRocket.getThrust(simTime);
	}
}
